package org.atag.sysrouter.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * 字典反转
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@Inherited
public @interface DictionaryMapping {

    @AliasFor("value")
    String id() default "";

    @AliasFor("id")
    String value() default "";

}
